package pers.zc.activiti.shejimoshi.danli;

/**
 * @Annotion:
 * @ClassName: TestSingle
 * @Author: Lin Fuyuan
 * @Date: 2019/11/1  15:59
 * @Version: 1.0
 */
public class TestSingle {

    public String name;
    public String school;
    private static TestSingle instance = null;

    public TestSingle(String name ,String school){
            this.name = name;
            this.school = school;
    };

    public static TestSingle getInstance(String name,String school){
        if (instance == null){
            instance = new TestSingle(name,school);
        }
        return instance;
    }

}
